body {
    font: normal 16px/20px "Helvetica Neue", Helvetica, sans-serif;
    background: rgb(237, 237, 236);
    margin: 0;
    margin-top: 40px;
    padding: 0;
    height: 2000px;
    /* overflow: auto; */
}

section,
header,
footer {
    display: block;
}

#wrapper {
    width: 600px;
    margin: 0 auto;
    background: #fff url(shade.jpg) repeat-x center bottom;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border-top: 1px solid #fff;
    padding-bottom: 76px;
}

h1 {
    padding-top: 10px;
}

h2 {
    font-size: 100%;
    font-style: italic;
}

header,
article>*,
footer>* {
    margin: 20px;
}

footer>* {
    margin: 20px;
    color: #999;
}

#status {
    padding: 5px;
    color: #fff;
    background: #ccc;
}

#status.fail {
    background: #c00;
}

#status.success {
    background: #0c0;
}

#status.offline {
    background: #c00;
}

#status.online {
    background: #0c0;
}

/*footer #built:hover:after {
  content: '...quickly';
}
*/
[contenteditable]:hover:not(:focus) {
    outline: 1px dotted #ccc;
}

abbr {
    border-bottom: 0;
}

abbr[title] {
    border-bottom: 1px dotted #ccc;
}

li {
    margin-bottom: 10px;
}

#promo {
    font-size: 90%;
    background: #333 url(../images/learn-js.jpg) no-repeat left center;
    display: block;
    color: #efefef;
    text-decoration: none;
    cursor: pointer;
    padding: 0px 20px 0px 260px;
    border: 5px solid #006;
    height: 160px;
}

#promo:hover {
    border-color: #00f;
}

#ih5 {
    font-size: 90%;
    background: #442C0D url(../images/ih5.jpg) no-repeat left center;
    display: block;
    color: #F7FCE4;
    text-decoration: none;
    cursor: pointer;
    padding: 1px 20px 1px 260px;
    border: 5px solid #904200;
}

#ih5:hover {
    border-color: #CF6D3B;
}

#ffad section {
    padding: 20px;
}

#ffad p {
    margin: 10px 10px 10px 100px;
}

#ffad img {
    border: 0;
    float: left;
    display: block;
    margin: 14px 14px 0;
}

#ffad .definition {
    font-style: italic;
    font-family: Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;
}

#ffad .url {
    text-decoration: underline;
}

button,
input {
    font-size: 16px;
    padding: 3px;
    margin-left: 5px;
}

#view-source {
    display: none;
}

body.view-source {
    margin: 0;
    background: #fff;
    padding: 20px;
}

body.view-source>* {
    display: none;
}

body.view-source #view-source {
    display: block !important;
    margin: 0;
}




/** Pretty printing styles. Used with prettify.js. */
pre {
    font-size: 14px;
}

.str {
    color: #080;
}

.kwd {
    color: #008;
}

.com {
    color: #800;
}

.typ {
    color: #606;
}

.lit {
    color: #066;
}

.pun {
    color: #660;
}

.pln {
    color: #000;
}

.tag {
    color: #008;
}

.atn {
    color: #606;
}

.atv {
    color: #080;
}

.dec {
    color: #606;
}

li {
    list-style: none;
}

li a {
    text-decoration: none;
    color: #000;
    margin: 10px;
    width: 150px;
    border: 3px dashed #999;
    background: #eee;
    padding: 10px;
    display: block;
}

*[draggable=true] {
    -moz-user-select: none;
    -khtml-user-drag: element;
    cursor: move;
}

*:-khtml-drag {
    background-color: rgba(238, 238, 238, 0.5);
}

li a:hover:after {
    content: ' (drag me)';
}

ul {
    margin-left: 200px;
    min-height: 300px;
}

li.over {
    border-color: #333;
    background: #ccc;
}

#bin {
    background: url(bin.jpg) top right no-repeat;
    height: 250px;
    width: 166px;
    float: left;
    border: 5px solid #000;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

#bin.over {
    background: url(bin.jpg) top left no-repeat;
}

#bin p {
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 166px;
    font-size: 32px;
    color: #fff;
    text-shadow: #000 2px 2px 2px;
}

#innerBin {
    position: relative;
    top: 50px;
    left: 50px;
    width: 60px;
    height: 50px;
    background-color: rgba(255, 255, 255, .5);
    border: 2px dashed white;
    border-radius: 5px;
}

.zoom {
    transition: transform 500ms;
}

.zoom.in {
    transform: scale(1.2);
}

.fadeout {
    transition: opacity 1s;
    opacity: 0;
}

.border-boxed {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.border-boxed *,
.border-boxed *:before,
.border-boxed *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

ul.flex-boxed {
    min-height: initial;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    border-radius: 5px;
    border: 2px solid gray;
    margin: 10px;
    padding: 10px;
}

ul[draggable=true] {
    border-radius: 5px;
    border: 2px solid gray;
    margin: 10px;
    padding: 10px;
}

ul[draggable=true]>li:first-child {
    display: block;
    width: 100%;
    background-color: gray;
    color: white;
}

div[draggable] {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
}

.draggable {
    cursor: grab;
    cursor: -webkit-grab;
}

.draggable:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.det {
    position: relative;
    width: 100%;
    outline: 0.1em solid #d9d9d9;
    background-color: #fff;
    box-sizing: border-box;
}

.det-icon {
    display: inline-block;
    width: 36%;
    padding: 1% 2%;
    box-sizing: border-box;
    height: 100%;
    min-height: 210px;
}

.oic {
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 0.8em;
    text-align: center;
    position: relative;
}

.oic-image {
    width: 100%;
    padding: 5% 0 0 0;
}

.custom {
    border: 2px dashed gray;
    background: #2e2e2e;
    color: white;
}

.drag-handle {
    display: inline;
}

li.draggable {
    box-sizing: border-box;
    color: #000;
    margin: 10px;
    border: 3px dashed #999;
    background: #eee;
    display: flex;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

li .drag-handle {
    height: 15px;
    width: 15px;
    text-align: center;
    margin: 10px;
    padding: 15px;
    background-color: darkgray;
    color: white;
    border: 1px white solid;
    border-radius: 50%;
}

li .no-drag {
    flex: 1 1 100%;
    display: flex;
}

.scroll-container {
    -webkit-overflow-scrolling: touch;
    height: 180px;
    overflow: auto;
    padding: 10px;
    border: 1px solid gray;
    background-color: #888888;
    box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, .5);
}

.rotate {
    transform: rotate(90deg);
}